package auth_controller

import (
	response "go_service/common"
	user_model "go_service/model/user"

	"github.com/gin-gonic/gin"
)

func UserLogin(c *gin.Context) {
	user := &user_model.User{}
	if err := c.ShouldBindJSON(user); err != nil {
		c.JSON(400, response.Error(400, "参数错误"))
		return
	}
	username := user.Username
	password := user.Password
}
